package com.spring.factory;

import com.spring.xml.XmlApplicationContext;

import java.util.List;
import java.util.Map;

/**
 * @Description:
 * @Auther: zhibo
 * @Date: 2018/8/23 18:30
 */
public class BeanDefinition extends XmlApplicationContext {

    public List<String> getComponentList(String contextConfigLocation ){
        List<String> componentList = super.getComponentList(contextConfigLocation);
        return componentList;
    }

    public Map<String, GenericBeanDefinition> getbeanDefinitionXmlMap(String contextConfigLocation){

        Map<String, GenericBeanDefinition>  getbeanDefinitionXmlMap  = super.getBeanDefinitionMap(contextConfigLocation);

        return getbeanDefinitionXmlMap;
    }
}
